#ifndef _UI_REPLACEMENT_H_
#define _UI_REPLACEMENT_H_

#include <string>
#include <vector>

class Font;


namespace ui
{
class UIReplacement
{
public:
	static UIReplacement&	Instance();
	void			SetReplacement(const std::wstring& Source,  const std::wstring& Replace);
	void			SetReplacement(const std::string& Source,  const std::string& Replace);

	void			ReplaceAll(std::wstring& SourceStr);
private:
	struct			ReplacementStr
	{
		std::wstring		From;
		std::wstring		To;
	};
	std::vector<ReplacementStr>		m_Strings;

	UIReplacement();
	~UIReplacement();
};

}  // namespace ui

#endif // _UI_REPLACEMENT_H_